package com.control.utils;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.IBinder;
import android.os.Message;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.view.inputmethod.InputMethodManager;

import com.control.constants.Constants.Common;
import com.control.constants.Constants.MStatus;
import com.control.model.Cooker;

public final class ActivityUtils extends Activity{
	public static void sendInitMsg(Handler handler,Cooker cooker){
		if(handler == null || cooker == null){
			return;
		}
		Message msg = new Message();
		Bundle bundle = new Bundle();
		bundle.putString("rmsg", MStatus.initDate.getValue());
		bundle.putSerializable("cooker", cooker);
		msg.setData(bundle);
		handler.sendMessageDelayed(msg, Common.sendDelayed.val);
	}
	
}
